<?php
	/********************************************************************************
	 TITLES
	*********************************************************************************/
	 
	// TITLE VI
	$title_vi = new Zend_Form_Element_Text('titleVi');
	$title_vi->setLabel('Title')
	//->addFilters(array('StringTrim', 'HtmlEntities'))
	->setAttrib('minlength', '6')
	->setAttrib('class', 'field-text large required')
	->setDecorators(array(	'ViewHelper', 'Description', 'Errors',	array(array('data' => 'HtmlTag'), array('tag' => 'span')),
			array('Label', array('tag' => 'span')),
			array(array('row' => 'HtmlTag'), array('tag' => 'p', 'class' => 'clear'))
	))
	->addValidator($length_validate);
	
	// TITLE EN
	$title_en = new Zend_Form_Element_Text('titleEn');
	$title_en->setLabel('Title')
	->setAttrib('minlength', '6')
	->setAttrib('class', 'field-text large required')
	->setDecorators(array(	'ViewHelper', 'Description', 'Errors',	array(array('data' => 'HtmlTag'), array('tag' => 'span')),
			array('Label', array('tag' => 'span')),
			array(array('row' => 'HtmlTag'), array('tag' => 'p', 'class' => 'clear'))
	))
	->addValidator($length_validate);
	 
	// TITLE JA
	$title_ja = new Zend_Form_Element_Text('titleJa');
	$title_ja->setLabel('Title')
	->setAttrib('minlength', '6')
	->setAttrib('class', 'field-text large required')
	->setDecorators(array(	'ViewHelper', 'Description', 'Errors',	array(array('data' => 'HtmlTag'), array('tag' => 'span')),
			array('Label', array('tag' => 'span')),
			array(array('row' => 'HtmlTag'), array('tag' => 'p', 'class' => 'clear'))
	))
	->addValidator($length_validate);
	 
	// TITLE CN
	$title_zh = new Zend_Form_Element_Text('titleZh');
	$title_zh->setLabel('Title')
	->setAttrib('minlength', '6')
	->setAttrib('class', 'field-text large required')
	->setDecorators(array(	'ViewHelper', 'Description', 'Errors',	array(array('data' => 'HtmlTag'), array('tag' => 'span')),
			array('Label', array('tag' => 'span')),
			array(array('row' => 'HtmlTag'), array('tag' => 'p', 'class' => 'clear'))
	))
	->addValidator($length_validate);
	 
	// TITLE FR
	$title_fr = new Zend_Form_Element_Text('titleFr');
	$title_fr->setLabel('Title')
	->setAttrib('minlength', '6')
	->setAttrib('class', 'field-text large required')
	->setDecorators(array(	'ViewHelper', 'Description', 'Errors',	array(array('data' => 'HtmlTag'), array('tag' => 'span')),
			array('Label', array('tag' => 'span')),
			array(array('row' => 'HtmlTag'), array('tag' => 'p', 'class' => 'clear'))
	))
	->addValidator($length_validate);
?>